{include file='common/header'}
<ol class='breadcrumb' >
      <li ><a href="{:url('admin/index/index')}">admin</a></li>
      <li ><a href="{:url('admin/lst')}">admin</a></li>
      <li class='active'>add</li>
</ol>
<h1 class='text-center'>添加管理员</h1>
      <form   action="{:url('admin/add')}" method="post" 
              style="width: 400px;margin-left: 420px;background: white;padding: 15px;" enctype="multipart/form-data"> 
         <div class='form-group has-feedback'>
            <label class='bg-success'><big>用户名</big></label>
            <input type='text' class='form-control' name='uname'>
            <p class='help-block' style='color:red;display: none'>你的用户名太短</p>
         </div>
         <div class='form-group has-feedback'>
            <label class='bg-success'><big>email</big></label>
            <input type='email' class='form-control' name='email'>
            <p class='help-block' style='color:red;display: none;'>你的email格式有误</p>
         </div>
         <div class='form-group has-feedback'>
            <label class='bg-success'><big>tel</big></label>
            <input type='tel' name='tel'class='form-control'>
            <p class='help-block' style='color:red;display: none;'>你的电话格式有误</p>
         </div>
          <div class='form-group has-feedback'>
            <label class='bg-success'><big>个人头像</big></label>
           <input type="file" class=" file" id="inputfile" name="image">  
            <p class='help-block' style='color:red;display: none;'>你的头像图片没传</p>
         </div>
           <div class='form-group has-feedback'>
            <label class='bg-success'><big>密码</big></label>
            <input type='password' name='pwd' class='form-control'>
            <p class='help-block' style='color:red;display: none;'>你的密码太短</p>
         </div>
           <div class='form-group has-feedback'>
            <label class='bg-success'><big>重复密码</big></label>
            <input type='password' name='repwd' class='form-control'>
            <p class='help-block' style='color:red;display: none;'>你的两次密码不一致</p>
         </div> 
         
         <div class='form-group' >
            <button class='btn btn-primary btn-block' style='font-size: 25px;'>submit</button>
         </div>      
     </form>
{include file='common/footer'}